package com.sssre.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sssre.business.domain.BusStatement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 浪兎兎
 * @create 2025-04-29-14:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusStatementQueryParams extends BusStatement {
    private static final long serialVersionUID = 1L;
    /**
     *  开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    /**
     *  结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
